package com.yx.modules.api.service;


import com.yx.modules.api.entity.TbGradeRecord;

import java.util.List;
import java.util.Map;

/**
 * 评分记录
 * 
 * @author luo
 * @email www.baidu.com
 * @date 2018-06-20 10:06:11
 */
public interface TbGradeRecordService {
	
	TbGradeRecord queryObject(Integer id);
	
	List<TbGradeRecord> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TbGradeRecord gradeRecord);
	
	void update(TbGradeRecord gradeRecord);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);


	TbGradeRecord findByUserIdAndBookId(Integer userId, Integer id);
}
